package com.itheima.a02polymorphismdemo2;

class Animal {
    String name = "动物";

    public void eat() {
        System.out.println("动物吃东西！");
    }
}